package com.miracle9.game.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class UserActivity
  extends BaseEntity
{
  private int userId;
  private int activityId;
  @Column(updatable=false)
  private String content = "";
  @Column(updatable=false)
  private String contentEn = "";
  private int awardGold;
  private int status;
  private int type;
  private int payBeforeSumYa = 0;
  private int payAfterSumYa = 0;
  private int daySumYa = 0;
  private int bonusCount = 0;
  private int condition1;
  private int condition2;
  private int condition3;
  
  public String toString()
  {
    return "UserActivity [userId=" + this.userId + ", activityId=" + this.activityId + ", content=" + this.content + ", awardGold=" + this.awardGold + ", status=" + this.status + ", type=" + this.type + ", payBeforeSumYa=" + this.payBeforeSumYa + ", payAfterSumYa=" + this.payAfterSumYa + ", daySumYa=" + this.daySumYa + ", bonusCount=" + this.bonusCount + ", condition1=" + this.condition1 + ", condition2=" + this.condition2 + ", condition3=" + this.condition3 + "]";
  }
  
  public UserActivity() {}
  
  public UserActivity(int userId, int activityId, String content, String contentEn, int awardGold, int status, int type, int payBeforeSumYa, int payAfterSumYa, int daySumYa, int bonusCount, int condition1, int condition2, int condition3)
  {
    this.userId = userId;
    this.activityId = activityId;
    this.content = content;
    this.contentEn = contentEn;
    this.awardGold = awardGold;
    this.status = status;
    this.type = type;
    this.payBeforeSumYa = payBeforeSumYa;
    this.payAfterSumYa = payAfterSumYa;
    this.daySumYa = daySumYa;
    this.bonusCount = bonusCount;
    this.condition1 = condition1;
    this.condition2 = condition2;
    this.condition3 = condition3;
  }
  
  public int getUserId()
  {
    return this.userId;
  }
  
  public void setUserId(int userId)
  {
    this.userId = userId;
  }
  
  public int getActivityId()
  {
    return this.activityId;
  }
  
  public void setActivityId(int activityId)
  {
    this.activityId = activityId;
  }
  
  public String getContent()
  {
    return this.content;
  }
  
  public void setContent(String content)
  {
    this.content = content;
  }
  
  public int getAwardGold()
  {
    return this.awardGold;
  }
  
  public void setAwardGold(int awardGold)
  {
    this.awardGold = awardGold;
  }
  
  public int getStatus()
  {
    return this.status;
  }
  
  public void setStatus(int status)
  {
    this.status = status;
  }
  
  public int getType()
  {
    return this.type;
  }
  
  public void setType(int type)
  {
    this.type = type;
  }
  
  public int getPayBeforeSumYa()
  {
    return this.payBeforeSumYa;
  }
  
  public void setPayBeforeSumYa(int payBeforeSumYa)
  {
    this.payBeforeSumYa = payBeforeSumYa;
  }
  
  public int getPayAfterSumYa()
  {
    return this.payAfterSumYa;
  }
  
  public void setPayAfterSumYa(int payAfterSumYa)
  {
    this.payAfterSumYa = payAfterSumYa;
  }
  
  public int getDaySumYa()
  {
    return this.daySumYa;
  }
  
  public void setDaySumYa(int daySumYa)
  {
    this.daySumYa = daySumYa;
  }
  
  public int getBonusCount()
  {
    return this.bonusCount;
  }
  
  public void setBonusCount(int bonusCount)
  {
    this.bonusCount = bonusCount;
  }
  
  public int getCondition1()
  {
    return this.condition1;
  }
  
  public void setCondition1(int condition1)
  {
    this.condition1 = condition1;
  }
  
  public int getCondition2()
  {
    return this.condition2;
  }
  
  public void setCondition2(int condition2)
  {
    this.condition2 = condition2;
  }
  
  public int getCondition3()
  {
    return this.condition3;
  }
  
  public void setCondition3(int condition3)
  {
    this.condition3 = condition3;
  }
  
  public String getContentEn()
  {
    return this.contentEn;
  }
  
  public void setContentEn(String contentEn)
  {
    this.contentEn = contentEn;
  }
}
